package com.styytech.dadabao.test.ResideMenu;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.styytech.dadabao.R;

/**
 * User: special
 * Date: 13-12-22
 * Time: 下午1:31
 * Mail: specialcyci@gmail.com
 */
public class ProfileFragment extends Fragment {
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    	Log.e("---", "初始化2----------1");
    	return inflater.inflate(R.layout.test_profile, container, false);
    }

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		Log.e("---", "初始化2----------2");
		super.onActivityCreated(savedInstanceState);
		((MenuActivity) getActivity()).profileFragment = this;
	}

	@Override
	public void onDestroy() {
		// TODO Auto-generated method stub
		Log.e("---", "销毁2----------");
		super.onDestroy();
	}
	
}
